﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D93 RID: 3475
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QueryProductInfoScRsp : IMessage<QueryProductInfoScRsp>, IMessage, IEquatable<QueryProductInfoScRsp>, IDeepCloneable<QueryProductInfoScRsp>, IBufferMessage
	{
		// Token: 0x17002C2B RID: 11307
		// (get) Token: 0x06009C0A RID: 39946 RVA: 0x001A1CDB File Offset: 0x0019FEDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QueryProductInfoScRsp> Parser
		{
			get
			{
				return QueryProductInfoScRsp._parser;
			}
		}

		// Token: 0x17002C2C RID: 11308
		// (get) Token: 0x06009C0B RID: 39947 RVA: 0x001A1CE2 File Offset: 0x0019FEE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QueryProductInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C2D RID: 11309
		// (get) Token: 0x06009C0C RID: 39948 RVA: 0x001A1CF4 File Offset: 0x0019FEF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QueryProductInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06009C0D RID: 39949 RVA: 0x001A1CFB File Offset: 0x0019FEFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QueryProductInfoScRsp()
		{
		}

		// Token: 0x06009C0E RID: 39950 RVA: 0x001A1D10 File Offset: 0x0019FF10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QueryProductInfoScRsp(QueryProductInfoScRsp other) : this()
		{
			this.nLIAMAMHJEF_ = other.nLIAMAMHJEF_;
			this.kGHDCIIGJGH_ = other.kGHDCIIGJGH_;
			this.gAAIMJLKDMB_ = other.gAAIMJLKDMB_;
			this.pNGGDBGOHPN_ = other.pNGGDBGOHPN_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009C0F RID: 39951 RVA: 0x001A1D75 File Offset: 0x0019FF75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QueryProductInfoScRsp Clone()
		{
			return new QueryProductInfoScRsp(this);
		}

		// Token: 0x17002C2E RID: 11310
		// (get) Token: 0x06009C10 RID: 39952 RVA: 0x001A1D7D File Offset: 0x0019FF7D
		// (set) Token: 0x06009C11 RID: 39953 RVA: 0x001A1D85 File Offset: 0x0019FF85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NLIAMAMHJEF
		{
			get
			{
				return this.nLIAMAMHJEF_;
			}
			set
			{
				this.nLIAMAMHJEF_ = value;
			}
		}

		// Token: 0x17002C2F RID: 11311
		// (get) Token: 0x06009C12 RID: 39954 RVA: 0x001A1D8E File Offset: 0x0019FF8E
		// (set) Token: 0x06009C13 RID: 39955 RVA: 0x001A1D96 File Offset: 0x0019FF96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KGHDCIIGJGH
		{
			get
			{
				return this.kGHDCIIGJGH_;
			}
			set
			{
				this.kGHDCIIGJGH_ = value;
			}
		}

		// Token: 0x17002C30 RID: 11312
		// (get) Token: 0x06009C14 RID: 39956 RVA: 0x001A1D9F File Offset: 0x0019FF9F
		// (set) Token: 0x06009C15 RID: 39957 RVA: 0x001A1DA7 File Offset: 0x0019FFA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong GAAIMJLKDMB
		{
			get
			{
				return this.gAAIMJLKDMB_;
			}
			set
			{
				this.gAAIMJLKDMB_ = value;
			}
		}

		// Token: 0x17002C31 RID: 11313
		// (get) Token: 0x06009C16 RID: 39958 RVA: 0x001A1DB0 File Offset: 0x0019FFB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Product> PNGGDBGOHPN
		{
			get
			{
				return this.pNGGDBGOHPN_;
			}
		}

		// Token: 0x17002C32 RID: 11314
		// (get) Token: 0x06009C17 RID: 39959 RVA: 0x001A1DB8 File Offset: 0x0019FFB8
		// (set) Token: 0x06009C18 RID: 39960 RVA: 0x001A1DC0 File Offset: 0x0019FFC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06009C19 RID: 39961 RVA: 0x001A1DC9 File Offset: 0x0019FFC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QueryProductInfoScRsp);
		}

		// Token: 0x06009C1A RID: 39962 RVA: 0x001A1DD8 File Offset: 0x0019FFD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QueryProductInfoScRsp other)
		{
			return other != null && (other == this || (this.NLIAMAMHJEF == other.NLIAMAMHJEF && this.KGHDCIIGJGH == other.KGHDCIIGJGH && this.GAAIMJLKDMB == other.GAAIMJLKDMB && this.pNGGDBGOHPN_.Equals(other.pNGGDBGOHPN_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009C1B RID: 39963 RVA: 0x001A1E58 File Offset: 0x001A0058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NLIAMAMHJEF != 0U)
			{
				num ^= this.NLIAMAMHJEF.GetHashCode();
			}
			if (this.KGHDCIIGJGH != 0U)
			{
				num ^= this.KGHDCIIGJGH.GetHashCode();
			}
			if (this.GAAIMJLKDMB != 0UL)
			{
				num ^= this.GAAIMJLKDMB.GetHashCode();
			}
			num ^= this.pNGGDBGOHPN_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009C1C RID: 39964 RVA: 0x001A1EF0 File Offset: 0x001A00F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009C1D RID: 39965 RVA: 0x001A1EF8 File Offset: 0x001A00F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009C1E RID: 39966 RVA: 0x001A1F04 File Offset: 0x001A0104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.GAAIMJLKDMB != 0UL)
			{
				output.WriteRawTag(48);
				output.WriteUInt64(this.GAAIMJLKDMB);
			}
			if (this.KGHDCIIGJGH != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.KGHDCIIGJGH);
			}
			this.pNGGDBGOHPN_.WriteTo(ref output, QueryProductInfoScRsp._repeated_pNGGDBGOHPN_codec);
			if (this.NLIAMAMHJEF != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.NLIAMAMHJEF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009C1F RID: 39967 RVA: 0x001A1FA8 File Offset: 0x001A01A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NLIAMAMHJEF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NLIAMAMHJEF);
			}
			if (this.KGHDCIIGJGH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KGHDCIIGJGH);
			}
			if (this.GAAIMJLKDMB != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.GAAIMJLKDMB);
			}
			num += this.pNGGDBGOHPN_.CalculateSize(QueryProductInfoScRsp._repeated_pNGGDBGOHPN_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009C20 RID: 39968 RVA: 0x001A2044 File Offset: 0x001A0244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QueryProductInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NLIAMAMHJEF != 0U)
			{
				this.NLIAMAMHJEF = other.NLIAMAMHJEF;
			}
			if (other.KGHDCIIGJGH != 0U)
			{
				this.KGHDCIIGJGH = other.KGHDCIIGJGH;
			}
			if (other.GAAIMJLKDMB != 0UL)
			{
				this.GAAIMJLKDMB = other.GAAIMJLKDMB;
			}
			this.pNGGDBGOHPN_.Add(other.pNGGDBGOHPN_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009C21 RID: 39969 RVA: 0x001A20CD File Offset: 0x001A02CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009C22 RID: 39970 RVA: 0x001A20D8 File Offset: 0x001A02D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 8U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.GAAIMJLKDMB = input.ReadUInt64();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.KGHDCIIGJGH = input.ReadUInt32();
						continue;
					}
					if (num == 90U)
					{
						this.pNGGDBGOHPN_.AddEntriesFrom(ref input, QueryProductInfoScRsp._repeated_pNGGDBGOHPN_codec);
						continue;
					}
					if (num == 96U)
					{
						this.NLIAMAMHJEF = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003C44 RID: 15428
		private static readonly MessageParser<QueryProductInfoScRsp> _parser = new MessageParser<QueryProductInfoScRsp>(() => new QueryProductInfoScRsp());

		// Token: 0x04003C45 RID: 15429
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003C46 RID: 15430
		public const int NLIAMAMHJEFFieldNumber = 12;

		// Token: 0x04003C47 RID: 15431
		private uint nLIAMAMHJEF_;

		// Token: 0x04003C48 RID: 15432
		public const int KGHDCIIGJGHFieldNumber = 9;

		// Token: 0x04003C49 RID: 15433
		private uint kGHDCIIGJGH_;

		// Token: 0x04003C4A RID: 15434
		public const int GAAIMJLKDMBFieldNumber = 6;

		// Token: 0x04003C4B RID: 15435
		private ulong gAAIMJLKDMB_;

		// Token: 0x04003C4C RID: 15436
		public const int PNGGDBGOHPNFieldNumber = 11;

		// Token: 0x04003C4D RID: 15437
		private static readonly FieldCodec<Product> _repeated_pNGGDBGOHPN_codec = FieldCodec.ForMessage<Product>(90U, Product.Parser);

		// Token: 0x04003C4E RID: 15438
		private readonly RepeatedField<Product> pNGGDBGOHPN_ = new RepeatedField<Product>();

		// Token: 0x04003C4F RID: 15439
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04003C50 RID: 15440
		private uint retcode_;
	}
}
